package com.wmh.baseservice.merchant.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wmh.baseservice.merchant.pojo.MerchantGoods;
import com.wmh.baseservice.common.mybatisplus.methods.CommonService;
import com.wmh.baseservice.skd.pojo.SkdGoodsSpec;
import com.wmh.baseservice.user.pojo.Goods;

import java.util.List;
import java.util.Map;

/**
 * @author wmh generator
 * @since 2022-01-19
 */
public interface MerchantGoodsService extends CommonService<MerchantGoods> {

    IPage<Goods> goodList(Page<Goods> vegetablePage, Map<String, Object> map);

    /**
     * 添加商品
     */
//    void add(MerchantGoods merchantGoods, List<SkdGoodsSpec> skdGoodsSpecs);

    /**
     * 修改商品
     */
//    void updateGoods(MerchantGoods merchantGoods, List<SkdGoodsSpec> skdGoodsSpecs);
}
